package com.glsc.ngateway.common.base.repo.oracle.ecology;

import com.glsc.ngateway.common.base.domain.oracle.ecology.Hrmsubcompany;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HrmsubcompanyRepository extends JpaRepository<Hrmsubcompany,Integer>, JpaSpecificationExecutor<Hrmsubcompany> {

    List<Hrmsubcompany> findAll();

    List<Hrmsubcompany> findAllByCanceledIsNull();

}
